Decodes a Base64 string back to its original form.
Syntax |
|---|
|
result = DecodeBase64( str, [encoding] ) |
Parameters |
||
|---|---|---|
|
str |
The Base64 String to be decoded. |
|
|
encoding |
TextEncoding (Optional) |
Optional: The text encoding of the passed string. If you pass an encoding, is has the same effect as calling DefineEncoding on the returned String. |
Return Value |
||
|---|---|---|
|
Result |
The decoded value of str. |
|
Notes
The DecodeBase64 function performs the reverse operation of EncodeBase64. An encoded string passed to DecodeBase64 returns the original string.
See Also
EncodeBase64 function.